// import 'package:flutter_application_1/generated/l10n.dart';

class CnConstantPool {
  static const String online = "Online";

  static const String offline = "Offline";

  static const String incall = "InCall";

  static const String busy = "Busy";

  static const String available = "Available";

  //媒体文件类型
  static const String Media_Type_Video = "video";
  static const String Media_Type_Photo = "photo";

  //屏蔽、举报
  static const String Block = "Block";
  static const String Report = "Report";

  //举报类型分类子项
  static const String Porngraphic = "Porngraphic";
  static const String Falsegender = "False gender";
  static const String Fraud = "Fraud";
  static const String Politiclsensitive = "Politicl sensitive";
  static const String Other = "Other";

  //页面数据状态类型
  static const String LoadingStatus = "LoadingStatus";
  static const String EmptyStatus = "EmptyStatus";
  static const String ShowDataStatus = "ShowDataStatus";

  //礼物图标路径
  static Map<String, String> giftPath = {
    'biao': 'images/gift/ic_shoubiao.webp',
    'bieshu': 'images/gift/ic_bieshu.webp',
    'chungao': 'images/gift/ic_cungao.webp',
    'chuang': 'images/gift/ic_chuang.webp',
    'erhuan': 'images/gift/ic_erhuan.webp',
    'feiji': 'images/gift/ic_zhishengji.webp',
    'youlun': 'images/gift/ic_youlun.webp',
    'huangguan': 'images/gift/ic_wangguan.webp',
    'hunsha': 'images/gift/ic_hunsha.webp',
    'jiezi': 'images/gift/ic_zuanjie.webp',
    'kiss': 'images/gift/ic_kiss.webp',
    'meigui': 'images/gift/ic_meigui.webp',
    'paoche': 'images/gift/ic_car.webp',
    'qiaokeli': 'images/gift/ic_qiaokeli.webp',
    'qinggua': 'images/gift/ic_qinggua.webp',
    'rose': 'images/gift/ic_rose.webp',
    'shouzhuo': 'images/gift/ic_shouzhuo.webp',
    'shuijingxie': 'images/gift/ic_shuijinxie.webp',
    'xiangbing': 'images/gift/ic_xiangbin.webp',
    'xiangjiao': 'images/gift/ic_xiangjiao.webp',
    'xiangshui': 'images/gift/ic_xiangshui.webp',
    'xiong': 'images/gift/ic_taidixiong.webp',
    'yongyi': 'images/gift/ic_yongyi.webp',
    'xianglian': 'images/gift/ic_xianglian.webp',
    'chengbao': 'images/gift/ic_chegnbao.webp',
    'aimashibao': 'images/gift/ic_aimashibao.webp',
  };

  ///开启礼物弹窗页面来源   1.融云私聊页  2.视频通话页
  static const String RONGYUN_PAGE = "rongyun_page";
  static const String VIDEO_CALL_PAGE = "video_call_page";

  /*
  *
  * handUpReason字典值
  *
  * */
  static const int normal = 1; //常规

  static const int noCoins = 2; //金币不足

  static const clException = 3; //客户端异常

  static const clCallTimeOut = 4; //呼叫超时

  static const clRemoteUserLeft = 5; //对方退出

  static const serException = 6; //服务端错误

  static const netException = 7; //网络错误

  /*
  * callSource字典值
  *
  * */

  static const int conversation = 1; //会话

  static const int jsApi = 2; //网页

  static const int matchResult = 3; //匹配结果页

  static const int popularWall = 4; //主播墙

  static const int anotherAnchor = 5;

  static const int detailPage = 6; //详情页

  static const int detailVideoPage = 7; //视频播放页

  static const int missCallPage = 8;

  static const int connectionErrorCallBack = 9;

  static const int mediaWall = 10;

  static const int callsPage = 11; //通话记录

  static const int fastMatch = 12; //快速匹配

  static const int autoCall = 13;

  static const int multiple = 14;

  static const recommendGoddess = 15;

  //短链长链head常量
  static const String pkg = "pkg";

  static const String ver = "ver";

  static const String deviceId = "device-id";

  static const String model = "model";

  static const String lang = "lang";

  static const String pver = "p_ver";

  static const String kst = "kst";

  static const String sysLan = "sys_lan";

  static const String platform = "platform";

  static const String authorization = "Authorization";

  /*
  *
  * 长链消息
  *
  * */

  static const String onCall = "onCall"; //被呼叫

  static const String onHangUp = "onHangUp"; //被挂断

  static const String onPickUp = "onPickUp"; //被接听

  static const String estimatedHangUpTime = "estimatedHangUpTime"; //预估挂断时间

  static const String availableCoins = "availableCoins"; //可用余额

  static const String onChat = "onChat"; //聊天消息

  static const String messageEvent = "messageEvent"; //1v1视频聊天消息

  static const String onGiftAsk = "onGiftAsk"; //索要礼物

  static const String rechargeOrderStatus = "rechargeOrderStatus"; //支付成功

  //static const String flashChatFreeTimes = "flashChatFreeTimes";

  ///通话呼叫类型
  static const String unAnsweredCall = "UnAnswered call"; //呼叫主播 30s自动挂断/主播拒绝

  static const String missedCall = "Missed call"; //主播来电 30s自动挂断/主播取消

  static const String rejectedCall = "Rejected call"; //主播来电 用户拒绝

  static const String cancelledCall = "Cancelled call"; //呼叫主播  用户取消

  static const String outGoingCall = "Outgoing call"; //呼叫主播 主播接听-主播挂断/用户挂断

  static const String incomingCall = "Incoming call"; //主播来电 用户接听-主播挂断/用户挂断

  static const String isFirstOpenCamera = "isFirstOpenCamera";

  static const String startRatingStore = "startRatingStore";

  //Token过期Code
  static const int TOKEN_EXPIRE_CODE = 10010303;
}
